﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DefaultLogin.aspx.cs" Inherits="ivv.DefaultLogin1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Fiepe - IVV</title>
    <style type="text/css">
        body
        {
            margin: 0;
            padding: 0;
            color: White;
            font-size: 20px;
        }
        .login
        {
            position: absolute;
            top: 35%;
            left: 50%;
            margin-top: -100px;
            margin-left: -180px;
            color: #FFF;
            font-weight: 700;
        }
        #btnEntrar:hover
        {
            opacity: 0.9;
            -moz-opacity: 0.9;
            filter: Alpha(Opacity=100);
        }
        a
        {
            color: White;
            text-decoration:none;
        }
        a:hover
        {
            text-decoration:none;
            color: #e6e6e7;
        }
    </style>

    <script language="javascript">

        function erro2() {
            alert('A sessão foi expirada por motivos de segurança. Acesse o sistema novamente.');
        }
        function erro() {
            alert('Login/Senha incorretos.');
        }
    
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="login" style="background-color: #0066b3; width: 400px; height: 300px;
        border-radius: 40px 40px 40px 40px;">
        <img src="images/logo.png" width="300px" height="75px" style="padding-top: 40px;
            padding-left: 55px;" />
        <table width="70%" cellpadding="5px" style="padding-top: 20px; margin-left: 50px;">
            <tr>
                <td>
                    Login:
                </td>
                <td align="right">
                    <asp:TextBox ID="txtUsuario" runat="server" Width="220px" Style="border-radius: 5px 5px 5px 5px;"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Senha:
                </td>
                <td align="right">
                    <asp:TextBox ID="txtSenha" runat="server" Width="220px" Style="border-radius: 5px 5px 5px 5px;"
                        TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <table width="100%">
                        <tr>
                            <td style="width: 70%;">
                                <a class="link" onclick="javascript:window.open('<%=Convert.ToString(ConfigurationManager.AppSettings["url"])%>/esqueciSenha.aspx','r15653','location=1,resizable=1,status=1,scrollbars=1,width=250,height=150');"
                                    href="#">Esqueci minha senha</a>
                            </td>
                            <td align="right">
                                <asp:Button ID="btnEntrar" runat="server" Text="Entrar" Style="background-color: #d22c12;
                                    color: White; border-radius: 5px 5px 5px 5px; width: 60px; height: 30px;" OnClick="btnEntrar_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <asp:Panel ID="Panel1" runat="server">
        </asp:Panel>
    </div>
    </form>
</body>
</html>
